'''
执行登录成功的测试用例
'''
# 1初始化数据库
# 2执行用例（接口：发请求）
import requests

url = "http://192.168.196.128/apitest/login/"
args = {'username': 'test01', 'password': '123456'}
res = requests.post(url, data=args)
print(res.json())

# {'Status':1000,'Result':'Usercheck ok','Message':'登录验证成功'}
#
# select count(*) from users, info where users.id=info.id and username='test01' and password=md5('123456') and name='{'username':'test01','password':'123456'}'
